import React,{ Component } from 'react';

import './Rect.scss';

export default class Rect extends Component{
	constructor (props) {
		super(props)
		this.state = {
			nowType: 1
		}
	}
  render() {
    return (
      <div className='rect-one'>
      	<span className='rect-title'>{this.props.data.name}</span>
      	<span className='rect-number'>{this.props.data.number}</span>
      </div>
    )
  }
}
